cmake_minimum_required(VERSION 3.1)
project(main CXX C) # 这里可以不写CXX和C，但不能只写一个，否则只会编译指定语言
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")  #设置c++的编译选项
include_directories(./)
add_executable(hello test/hello.cpp)
add_subdirectory(capitalism)
add_subdirectory(biz)
add_subdirectory(sandbox)
target_link_libraries(hello capitalism)
add_executable(client test/clientTest.cpp)
add_executable(fuxk test/test.cpp)
target_link_libraries(fuxk sandbox)